package com.cfg.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.validate.edit;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@TableName("cfg_category")
public class CfgCategory {

    private static final long serialVersionUID = 1L;

    /** 编码ID */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    //业务名称
    @TableField("bizName")
    private String bizName;

    //常量名
    @TableField("categoryName")
    private String categoryName;

    //cfg_category_mapping 表中 cascadeColumn 中对应的值 用于检索用
    @TableField(exist = false)
    private  String  valueCascade;

}
